package list.array;

import list.array.MyArrayList;

public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList=new MyArrayList();
        myArrayList.add(0,"n");
        myArrayList.add("a");
//        myArrayList.remove(0);
        myArrayList.add("a");
        myArrayList.remove("n");
        for (int i = 0; i <myArrayList.size() ; i++) {
            System.out.println(myArrayList.getValue(i));

        }



    }
}
